var list = {
    id: 0,
}
export var care_list = function (state = list, action: any) {
    var newstate = JSON.parse(JSON.stringify(state))
    if (action.type == "ADD_ID") {
        newstate.id = action.payload
        return newstate
    } else {
        return state
    }
}